package com.example.mylearn.proxy.learn.once.staticProxy;

public class CallKafkaProxy implements CallKafkaService{




    private final CallKafkaService target;


    public CallKafkaProxy(CallKafkaService target)
    {
        this.target = target;
    }




    @Override
    public void call() {
        System.out.println("开始调用");
        target.call();
        System.out.println("结束调用");
    }
}
